﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace WebApplication1.Entities;

public partial class RepairLog
{
   

    [Key]
    public string? Id { get; set; }

    public string? ProductId { get; set; }
    /// <summary>
    /// 维修录入时间
    /// </summary>
    public DateTime? MaintenanceEntryTime { get; set; }

    /// <summary>
    /// 图片地址
    /// </summary>
    public string? PicAddress { get; set; }

    /// <summary>
    /// 产品类别
    /// </summary>
    public string? Category { get; set; }

    /// <summary>
    /// 详情选择:自产/PLC/伺服
    /// </summary>
    public string? DetailChoose { get; set; }

    /// <summary>
    /// 问题选择:设计问题 / 其他 / CPU
    /// </summary>
    public string? CasValue { get; set; }

    /// <summary>
    /// 货到日期
    /// </summary>
    public DateTime? ShippingDate { get; set; }

    /// <summary>
    /// 维修日期
    /// </summary>
    public DateTime? RepairTime { get; set; }

    /// <summary>
    /// 客户名称
    /// </summary>
    public string? CustomerName { get; set; }

    /// <summary>
    /// 产品型号
    /// </summary>
    public string? ProductModel { get; set; }

    /// <summary>
    /// 保内/保外
    /// </summary>
    public string? Guarantee { get; set; }
    /// <summary>
    /// 产品日期
    /// </summary>
    public DateTime? ProductDate { get; set; }

    /// <summary>
    /// 问题归类
    /// </summary>
    public string? ProblemClassification { get; set; }

    /// <summary>
    /// 故障类型
    /// </summary>
    public string? FaultType { get; set; }

    /// <summary>
    /// 客户反映现象
    /// </summary>
    public string? CustomerResponsePhenomenon { get; set; }

    /// <summary>
    /// 维修检测现象
    /// </summary>
    public string? MaintenanceDetectionPhenomenon { get; set; }

    /// <summary>
    /// 故障原因分析
    /// </summary>
    public string? FaultCauseAnalysis { get; set; }

    /// <summary>
    /// 故障处理
    /// </summary>
    public string? FaultHandling { get; set; }

    /// <summary>
    /// 发货地址
    /// </summary>
    public string? ShippingAddress { get; set; }

    /// <summary>
    /// 联系电话
    /// </summary>
    public string? ContactNumber { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }
    /// <summary>
    /// 产品序列号
    /// </summary>
    public string? ProductSerialNumber { get; set; }

    /// <summary>
    /// 产品内码
    /// </summary>
    public string? ProductCode { get; set; }

    /// <summary>
    /// 故障细分
    /// </summary>
    public string? FaultSegmentation { get; set; }

    /// <summary>
    /// 故障原因
    /// </summary>
    public string? FailureCause { get; set; }

    /// <summary>
    /// 原因细分
    /// </summary>
    public string? CauseSubdivision { get; set; }

    /// <summary>
    /// 设备/行业
    /// </summary>
    public string? EquipmentOrIndustry { get; set; }

    /// <summary>
    /// 出厂测试记录
    /// </summary>
    public string? LeaveFactoryTestRecord { get; set; }

    /// <summary>
    /// 编码器编码
    /// </summary>
    public string? EncoderCoding { get; set; }

    /// <summary>
    /// 回访记录
    /// </summary>
    public string? ReturnVisitRecord { get; set; }

    /// <summary>
    /// 是否收费
    /// </summary>
    public bool? Charge { get; set; }

    /// <summary>
    /// 联系人
    /// </summary>
    public string? ContactPerson { get; set; }

    /// <summary>
    /// 发货单号
    /// </summary>
    public string? InvoiceNumber { get; set; }

    /// <summary>
    /// 发货日期
    /// </summary>
    public DateTime? DeliveryDate { get; set; }

    /// <summary>
    /// 是否打收费单
    /// </summary>
    public bool? ChargeSheet { get; set; }

    /// <summary>
    /// 发货记录
    /// </summary>
    public string? DeliveryRecord { get; set; }

    /// <summary>
    /// 编号
    /// </summary>
    public string? Number { get; set; }

    /// <summary>
    /// 分类
    /// </summary>
    public string? Classification { get; set; }

    /// <summary>
    /// 器件规格
    /// </summary>
    public string? DeviceSpecification { get; set; }

    /// <summary>
    /// 品牌
    /// </summary>
    public string? Brand { get; set; }

    /// <summary>
    /// 位号
    /// </summary>
    public string? TagNumber { get; set; }

    /// <summary>
    /// 软件版本
    /// </summary>
    public string? SoftwareVersion { get; set; }

    /// <summary>
    /// PCB丝印
    /// </summary>
    public string? PcbscreenPrinting { get; set; }

    /// <summary>
    /// 主板二维码
    /// </summary>
    public string? MotherboardTwoDimensionalCode { get; set; }

    /// <summary>
    /// 工程师
    /// </summary>
    public string? Engineer { get; set; }

    /// <summary>
    /// 本月保修期
    /// </summary>
    public DateTime? ThisMonthWarranty { get; set; }

    /// <summary>
    /// 类型
    /// </summary>
    public string? Type { get; set; }

    /// <summary>
    /// 二维码/外加工厂家
    /// </summary>
    public string? TwoDimensionalCode { get; set; }

    /// <summary>
    /// 功能位
    /// </summary>
    public string? FunctionalBits { get; set; }

    /// <summary>
    /// 报警记录
    /// </summary>
    public string? AlarmRecord { get; set; }

    /// <summary>
    /// 测台标志位P1-72
    /// </summary>
    public string? StationMarker { get; set; }

    /// <summary>
    /// 运行时间（h）
    /// </summary>
    public string? RunningTimeHour { get; set; }

    /// <summary>
    /// 运行时间（min）
    /// </summary>
    public string? RunningTimeMinute { get; set; }

    public int? Status { get; set; }
}
